package com.sh.weblogspringboot.web.convert;

import com.sh.weblogspringboot.common.domain.dos.BlogSettingsDO;
import com.sh.weblogspringboot.web.model.vo.FindBlogSettingsDetailRspVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author songHai
 * @Classname BlogSettingsConvert
 * @Description
 * @Date 2025/4/12 1:21
 */
@Mapper
public interface BlogSettingsConvert {
    /**
     * 初始化 convert 实例
     */
    BlogSettingsConvert INSTANCE = Mappers.getMapper(BlogSettingsConvert.class);

    /**
     * 将 DO 转化为 VO
     *
     * @param bean
     * @return
     */
    FindBlogSettingsDetailRspVO converDO2VO(BlogSettingsDO bean);

}
